.datagrid table
{
        border-collapse: collapse;
        text-align: left;
        width: 100%;
}
.datagrid
{
        background: #fff;
        border: 1px solid #006699;
        border-radius: 3px;
        font: normal 12px/150% Courier New, Courier, monospace;
        moz-border-radius: 3px;
        overflow: auto;
        webkit-border-radius: 3px;
}
.datagrid table td, .datagrid table th
{
        padding: 3px 10px;
}
.datagrid table thead th
{
        background: -moz-linear-gradient( center top, #006699 5%, #00557F 100% );
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #006699), color-stop(1, #00557F) );
        background-color: #006699;
        border-left: 1px solid #0070A8;
        color: #FFFFFF;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#006699', endColorstr='#00557F');
        font-size: 16px;
        font-weight: bold;
}
.datagrid table thead th:first-child
{
        border: none;
}
.datagrid table tbody td
{
        border-left: 1px solid #E1EEF4;
        color: #00496B;
        font-size: 12px;
        font-weight: normal;
}
.datagrid table tbody .alt td
{
        background: #E1EEF4;
        color: #00496B;
}
.datagrid table tbody td:first-child
{
        border-left: none;
}
.datagrid table tbody tr:last-child td
{
        border-bottom: none;
}
.datagrid table tfoot td div
{
        background: #E1EEF4;
        border-top: 1px solid #006699;
}
.datagrid table tfoot td
{
        font-size: 13px;
        padding: 0;
}
.datagrid table tfoot td div
{
        padding: 2px;
}
.datagrid table tfoot td ul
{
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: right;
}
.datagrid table tfoot li
{
        display: inline;
}
.datagrid table tfoot li a
{
        background: -moz-linear-gradient( center top, #006699 5%, #00557F 100% );
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #006699), color-stop(1, #00557F) );
        background-color: #006699;
        border: 1px solid #006699;
        border-radius: 3px;
        color: #FFFFFF;
        display: inline-block;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#006699', endColorstr='#00557F');
        margin: 1px;
        moz-border-radius: 3px;
        padding: 2px 8px;
        text-decoration: none;
        webkit-border-radius: 3px;
}
.datagrid table tfoot ul.active, .datagrid table tfoot ul a:hover
{
        background: none;
        background-color: #00557F;
        border-color: #006699;
        color: #FFFFFF;
        text-decoration: none;
}
div.dhtmlx_window_active, div.dhx_modal_cover_dv
{
        position: fixed !important;
}
